package com.wzk.travelspringboot.common;

/**
 * @Author: WangZiKang
 * @Date: 2025/1/5 11:08
 */
//redis常量类
public class RedisConstant {

    public static final String CAPTCHA_CODE_KEY = "code:";

    public static final long CAPTCHA_CODE_TIME = 60;

    public static final String USER_LOGIN_KEY = "user:login:";

    public static final long USER_LOGIN_TIME= 60;

    public static final String EMAIL_CODE_KEY = "email:";

    public static final long EMAIL_CODE_TIME = 5;

    public static final String SCENIC_TYPE_KEY = "scenic:type:vo";

    public static final long SCENIC_TYPE_TIME = 60;

    public static final String SCENIC_LIKE_KEY = "scenic:like:";

    public static final long SCENIC_LIKE_TIME = 30;

    public static final String SCENIC_VIEW_KEY = "scenic:view:";

    public static final String BLOG_LIKE_KEY = "blog:like:";

    public static  final String REQUEST_LIMIT = "request:limit:";

    public  static final  long REQUEST_LIMIT_TIME = 10;

}
